2015-03-12 - 17790 - Service Request - Prod issue UPC print by PO printing x3 (Lizz By 03-13-2015) #ABAPUPC #SDSupportUPCLabels

2015-03-12 - 17790 - Service Request - Prod issue UPC print by PO printing x3

Problem Summary


Production PO issue with UPC's printing triple quantity.

Admin Info



Purpose
Prod issue UPC print by PO printing x3
Requested by
Lizz Paxon
Issue Date
03-11-2015
Resolved by
Siba / Karthik
Resolved Date
03-12-2015
Document Status
Completed

Detailed Problem Description

(Include Screen Shots if required )

While passing sales order number for the corresponding production order into VAS table, In output we were getting the multiple line items, which have same Scodes. And because of this reason label was printing X3 times.

Below is the screen shot, where label was printing multiple times:
UPC label- lizz.JPG


Solution Analysis and Recommendations

(Include Screen Shots if required)

It is required to modify the code with line item number i.e. sales order number of the corresponding production order.
In order to resolve this issue, we filtered with item number i.e. (Sales order line item number of corresponding production order) and passing into the VAS table to get the Scode for the corresponding sales order line item.


Resolution


In order to resolve this issue, we filtered with item number i.e. (Sales order line item number of corresponding production order) and passing into the VAS table (J_3AVASSO) to get the Scode for the corresponding sales order.

Below is the screen shot of code changes in program ZRSD_UPC_LABELS.
change of code.jpg

After making the code changes, test data created in NECNED300. Which printed labels correctly.

Below are the screen shots before and after making the code changes:

Input:
UPC Input.JPG

Error:
UPC Error.JPG

Correct:
UPC Solved.JPG


Release Information


Provide link here to Release Notes if Technical Objects were changed

SD - Siba - Karthik - 2015-03-12 - 17790 - Rel Notes - Prod issue UPC print by PO printing x3